class CreateBlContainers < ActiveRecord::Migration
  def change
    create_table :bl_containers do |t|
      t.string :ctn_no
      t.integer :status
      t.string :ctn_type
      t.string :seal_no
      t.string :vehicle_no
      t.references :bl

      t.timestamps
    end
    add_index :bl_containers, :bl_id
  end
end
